package com.example.hms.dao;

import com.example.hms.entity.BlackList;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface BlackListDao {
    List<BlackList> selectAllBlackList(
            @Param("blackListId")String  blackListId,
            @Param("customerId") String customerId,
            @Param("state") String state
    );
    int insert(BlackList blackList);
    int update(BlackList blackList);

    Map<String, Object> selectBlackListDebt(
            @Param("customerId") String customerId,
            @Param("cancelTime") String cancelTime
    );
}
